import { BaseService, Service } from '@/core';

@Service('app/comm')
export default class extends BaseService {
    kmLogin(data) {
        return this.request({
            url: '/kmLogin',
            method: 'POST',
            data,
            isSign: true
        });
    }

    uploadByBase64(data) {
        return this.request({
            url: '/uploadByBase64',
            method: 'POST',
            data
        });
    }

    millionSharePic(data) {
        return this.request({
            url: '/millionSharePic',
            method: 'POST',
            data
        });
    }

    selfmallLogin() {
        return this.request({
            url: '/selfmallLogin',
            method: 'POST'
        });
    }

    wxJljSharePic() {
        return this.request({
            url: '/wxJljSharePic',
            method: 'POST'
        });
    }
}
